@import "./mixin";
@import"./cssreset";

// 顶部吸顶通栏
#layout_top {
    width: 100%;
    height: 30px;
    background-color: #F1F1F1;
    color: #735749;
    font-size: 13px;
    position: fixed;
    z-index: 10000;

    .center {
        width: 1200px;
        height: 30px;
        margin: 0px auto;

        .left {
            width: 50%;
            height: 30px;
            line-height: 30px;
            float: left;

            &::after {
                @include clearboth();
            }
        }

        .right {
            width: 400px;
            height: 30px;
            line-height: 30px;
            float: right;
            text-align: right;

            ul {
                // background-color: aqua;
                width: 100%;
                height: 30px;
                float: right;

                li {
                    float: left;
                    color: #735749;
                    text-decoration: none;
                    margin-right: 10px;
                }
            }
        }
    }
}

// 搜索栏

#search {
    // background-color: #fff;
    background-color: #fff;
    height: 100px;
    padding-top: 30px;

    .search_center {
        width: 1200px;
        height: 100px;
        margin: 0 auto;

        // background-color: aqua;
        .left {
            width: 20%;
            height: 100px;
            float: left;

            img {
                margin-top: 25px;
            }
        }

        .center_q {
            // background-color: bisque;
            width: 65%;
            height: 100px;
            float: left;

            form {
                display: block;

                .center_ipt {
                    height: 34px;
                    width: 460px;
                    line-height: 34px;
                    float: left;
                    border: 2px #C81623 solid;
                    margin-left: 150px;
                    margin-top: 25px;

                    .ipt_text {
                        float: left;
                        width: 380px;

                        .keyinput {
                            width: 98%;
                            border: 0px;
                            height: 26px;
                            line-height: 26px;
                            float: left;
                            color: #666;
                            padding: 4px;
                            outline: 0;
                            font-size: 14px;
                            font-family: "microsoftyahei";
                        }
                    }

                    .ipt_sub {
                        height: 36px;
                        width: 76px;
                        line-height: 76px;
                        float: right;
                        background-color: #C81623;

                        .subinput {
                            float: left;
                            width: 100%;
                            // line-height: 76px;
                            height: 36px;
                            line-height: 38px;
                            border: 0px;
                            background: none;
                            cursor: pointer;
                            font-size: 16px;
                            color: #FFF;
                            font-family: "microsoft yahei";
                        }
                    }

                    .hotkey {
                        line-height: 25px;
                        font-size: 13px;

                        .hot_li {
                            float: left;
                            margin-right: 10px;
                            cursor: pointer;

                            a {
                                text-decoration: none;
                            }


                        }
                    }
                }
            }
        }
    }

    .right {
        width: 15%;
        height: 100px;
        float: right;

        .carBox {
            width: 140px;
            height: 36px;
            margin-top: 25px;
            float: right;
            border: 1px #DFDFDF solid;
            line-height: 32px;
            text-align: center;
            // z-index: 2;
            background-color: #FFF;
            position: absolute;
            margin-left: 38px;
            font-size: 13px;
        }
    }
}


// 导航栏

#navigation {
    // background-color: #fff;
    border-bottom: 2px #C81623 solid;
    height: 45px;
    // 版心
    .header_top_menu {
        width: 1200px;
        margin: 0 auto;
        height: 45px;
        line-height: 45px;
        position: relative;
        // 左侧全部商品栏
        .allmenu {
            width: 210px;
            height: 45px;
            background-color: #c81623;
            color: #fff;
            font-size: 16px;
            float: left;

            a {
                color: #fff;
                display: block;
                width: 190px;
                margin: 0 auto;
            }
        }
        // 商品类型分支
        .menuDiv {
            width: 990px;
            height: 45px;
            line-height: 45px;
            float: left;
            font-family: "microsoft yahei";

            li {
                float: left;
                padding:0  15px;
                &:hover{
                    background-color: red;
                    color: white;
                }
                a {
                    text-decoration: none;
                }
            }

            .menu_right {
                float: right;
                background: url() no-repeat 0px center;
                background-size: 33px;
                padding-left: 40px;
                font-family: Arial;
                color: #c81623;
                font-size: 24px;
                font-weight: lighter;
            }
        }
        // 左侧二级菜单
        .second_menu{
            width:209px;
            height:401px;
            // background-color: #E4393C;
            position: absolute;
            margin-top: 47px;
            z-index: 1000;
            left: 0px;
            .second_menu_left{
                height:399px;
                // border: 1px #E4393C solid;
                background-color: #E4393C;
                .second_menu_ul{
                    .second_menu_1st{
                        height: 40px;
                        // border-bottom: 1px #E4393C solid;
                        color: #fff;
                        &:hover{
                            background-color: #fff;
                            border:1px solid #fff;
                            color:#E4393C;
                            cursor: pointer;
                        }
                        .second_menu_2nd{
                            display: none;
                        }
                        .look{
                            display: block;
                            width:1000px;
                            height:398px;
                            border-right:1px solid #E4393C;
                            border-bottom:1px solid #E4393C;
                            background-color: #fff;
                            position: absolute;
                            left: 209px;
                            top: -0px;
                            .menu_2nd{
                                width:1000px;
                                margin-top: 30px;
                                .menu_2nd_li{
                                    float: left;
                                    height:20px;
                                    line-height: 20px;
                                    padding: 0 20px;
                                    border-right: 1px solid #dedede;
                                    margin:20px 0;
                                    a{
                                        color: red;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}